.class public Llecho/lib/hellocharts/gesture/PreviewChartTouchHandler;
.super Llecho/lib/hellocharts/gesture/ChartTouchHandler;


# direct methods
.method public constructor <init>(Landroid/content/Context;Llecho/lib/hellocharts/view/Chart;)V
    .locals 3

    const/4 v2, 0x0

    invoke-direct {p0, p1, p2}, Llecho/lib/hellocharts/gesture/ChartTouchHandler;-><init>(Landroid/content/Context;Llecho/lib/hellocharts/view/Chart;)V

    new-instance v0, Landroid/view/GestureDetector;

    new-instance v1, Llecho/lib/hellocharts/gesture/PreviewChartTouchHandler$PreviewChartGestureListener;

    invoke-direct {v1, p0}, Llecho/lib/hellocharts/gesture/PreviewChartTouchHandler$PreviewChartGestureListener;-><init>(Llecho/lib/hellocharts/gesture/PreviewChartTouchHandler;)V

    invoke-direct {v0, p1, v1}, Landroid/view/GestureDetector;-><init>(Landroid/content/Context;Landroid/view/GestureDetector$OnGestureListener;)V

    iput-object v0, p0, Llecho/lib/hellocharts/gesture/PreviewChartTouchHandler;->gestureDetector:Landroid/view/GestureDetector;

    new-instance v0, Landroid/view/ScaleGestureDetector;

    new-instance v1, Llecho/lib/hellocharts/gesture/PreviewChartTouchHandler$ChartScaleGestureListener;

    invoke-direct {v1, p0}, Llecho/lib/hellocharts/gesture/PreviewChartTouchHandler$ChartScaleGestureListener;-><init>(Llecho/lib/hellocharts/gesture/PreviewChartTouchHandler;)V

    invoke-direct {v0, p1, v1}, Landroid/view/ScaleGestureDetector;-><init>(Landroid/content/Context;Landroid/view/ScaleGestureDetector$OnScaleGestureListener;)V

    iput-object v0, p0, Llecho/lib/hellocharts/gesture/PreviewChartTouchHandler;->scaleGestureDetector:Landroid/view/ScaleGestureDetector;

    iput-boolean v2, p0, Llecho/lib/hellocharts/gesture/PreviewChartTouchHandler;->isValueTouchEnabled:Z

    iput-boolean v2, p0, Llecho/lib/hellocharts/gesture/PreviewChartTouchHandler;->isValueSelectionEnabled:Z

    return-void
.end method
